<nav>
  <%= tabs_tag(:namespace => :sub_nav, :open_tabs => {}, :builder => MenuTabBuilder) do |tab| %>
    <%= tab.permissions '<i class="fa fa-lg fa-fw fa-user"></i> 
        <span class="menu-item-parent">
          用户管理 
        </span>'.html_safe, admin_admins_path if current_admin.can?(controller: "admin/admins") %>
    <%= tab.groups '<i class="fa fa-lg fa-fw fa-gear"></i> 
        <span class="menu-item-parent">
          组 
        </span>'.html_safe, admin_groups_path if current_admin.can?(controller: "admin/groups") %>
  <% end %>
</nav>